From 66e8c0272e475dcd10a644cd6aad308e0ff8314b Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Mon, 20 Oct 2008 15:05:48 +0100 Subject: [PATCH] xend: Stub out vscsi_get_scsidevices() until issues are addressed. Signed-off-by: Keir Fraser --- tools/python/xen/util/vscsi_util.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/python/xen/util/vscsi_util.py b/tools/python/xen/util/vscsi_util.py index 42137bc6c8..443ef95c58 100644 --- a/tools/python/xen/util/vscsi_util.py +++ b/tools/python/xen/util/vscsi_util.py @@ -93,6 +93,10 @@ def _vscsi_block_scsiid_to_hctl(phyname, scsi_devices): def vscsi_get_scsidevices(): """ get all scsi devices""" + # KAF: Stubbed out for now due to bogus use of os.chdir() and because + # the devices.append() line can fail due to sg and scsi_id not defined. + return [] + devices = [] sysfs_mnt = utils.find_sysfs_mount() -- 2.30.2